package org.example.springaop;

import org.example.springaop.house.RealHouse;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
public class SpringAopApplication {

    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(SpringAopApplication.class, args);
        RealHouse bean = context.getBean(RealHouse.class);
        System.out.println(bean.getClass());
    }
}
